package com.easylinkin.linkappapi.messagecenter.entity.vo;

import com.easylinkin.linkappapi.messagecenter.entity.MessageCenter;
import com.easylinkin.linkappapi.messagecenter.entity.MessageCenterDetail;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * MessageCenter实体类Vo
 *
 * @author CodeGenerator
 * @date 2022/07/11
 */

@Data
@Accessors(chain = true)
@NoArgsConstructor
public class MessageCenterVo extends MessageCenter {

    /**
     * 消息数量
     */
    private int count;


    /**
     * 创建时间
     */
    private String createTimeStr;

    public MessageCenterVo(MessageCenter appMessageCenter) {
//        this.setName(appMessageCenter.getName());
    }

    private List<MessageCenterDetail> messageCenterDetailList;
}
